#include "elements/OpenDRIVE.h"
#include <iostream>
#include <ctime>
using namespace std;
//#include <string>

int main() {

	std::string filename = "files/OpenDrive/Town01.xodr";
	time_t start, end;
	start = clock();
	OpenDrive::OpenDrive opendrive(filename);
	end = clock();
	std::cout << 1.0*(end - start) / CLOCKS_PER_SEC << std::endl;
	////opendrive.findPath({ 1.98,-170 }, { 260,-133 }, false);
	////town05
	//opendrive.findPath({ -44,-72 }, /*{ 81,77 },*/ {100,40}, false,true);

	system("pause");
	return 0;
}